package com.zlzxm.sorting.ui.vm

import com.zlzxm.sorting.R
import com.zlzxm.sorting.ui.adapter.entity.EntityIndexMenu
import com.zlzxm.sorting.util.ui.manager.BaseViewModel

/**
 *
 *CREATE BY zlzxm ON 2022/8/20
 *
 */
class VmIndex : BaseViewModel() {

    val menuListData = mutableListOf<EntityIndexMenu>()

    init {

        setUpMenu()

    }


    override fun loadPageData() {


    }

    fun setUpMenu(){

        menuListData.clear()

        menuListData.add(EntityIndexMenu(1, R.drawable.ic_sort_by_product,"按商品分拣"))
        menuListData.add(EntityIndexMenu(2, R.drawable.ic_sort_by_me,"按客户分拣"))
        menuListData.add(EntityIndexMenu(3, R.drawable.ic_setting,"系统设置"))
        menuListData.add(EntityIndexMenu(4, R.drawable.ic_que,"缺货商品"))
        menuListData.add(EntityIndexMenu(5, R.drawable.ic_order,"订单分拣差异"))
        menuListData.add(EntityIndexMenu(6, R.drawable.ic_pre,"预打包"))
        menuListData.add(EntityIndexMenu(7, R.drawable.ic_scan,"扫码分拣"))



    }

}